Some Machines that DON'T have cycles
Some of these are not ordinarily counted as machines. Many of these are used as part of a larger cycle. A day of sledding involves repeatedly dragging the sled to the top of the hill.
LET
Statement
Remember (from Chapter 3) how the LET
statement works?
A LET
Statement:
For example:
LET VALUE = 12 + 5
VALUE
if it has not been used before in the program.VALUE
.In step 2 a number is calculated using the information on the RIGHT of the equal sign. THEN in step 3 the number is put into the memory reserved for the variable.
What happens FIRST when the LET statement in the following program executes?
' Example LET statement LET NUMBER = 5 + 2 PRINT NUMBER END